<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>练习1</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
</head>
<body>
    <div id="aaa">
        <h2>{{woniuxy}}</h2>
        <h2 v-html="woniuxy"></h2>
    </div>
    <script>
        const vm = new Vue({
            el:'#aaa',
            data() {
                return {
                    woniuxy:'<a href="http://www.woniuxy.com">欢迎来到蜗牛学苑！</a> '
                };
            },
        });
        //<a href="http://www.woniuxy.com">欢迎来到蜗牛学苑！</a>
        //欢迎来到蜗牛学苑！-----是一个链接
    </script>
</body>
</html>